#include<stdio.h>
void main()
{
	int arr1[5]={1,2,3,4,5};
	int arr2[5]={6,7,8,9,10};
	int d=0,c=0;
	for(d=0;d<5;d++)
	{	
		c=arr1[d];
		arr1[d]=arr2[d];
		arr2[d]=c;
	}
}